
package com.gs.netty.core.filter;

import java.io.IOException;


public interface Filter<Request,Response> {

//    public default void init(FilterConfig filterConfig) throws ServletException {}


    public void doFilter(Request request, Response response,
            FilterChain chain) throws IOException;


    public default void destroy() {}
}
